module.exports = {
    moduleFileExtensions: [
        'js',
        'vue'
    ],
    setupFiles: ['<rootDir>/__tests__/unit/index.js'],
    testEnvironment: 'jsdom',
    transform: {
        '^.+\\.vue$': 'vue-jest',
        '^.+\\.js$': 'babel-jest'
    },
    moduleNameMapper: {
        '^@/(.*)$': '/src/$1'
    },
    snapshotSerializers: [
        'jest-serializer-vue'
    ],
    testMatch: ['**/__tests__/**/*.spec.js'],
    transformIgnorePatterns: ['/node_modules/']
}